import java.util.*;
public class Exp73 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s="";
        s = s.replace(s,sc.next());
        //把字符串转化为整数,浮点数
        int a = Integer.parseInt(s);
        double b = Double.parseDouble(s);
        float c = Float.parseFloat(s);
        System.out.println("字符串转化为整数：" + a + " 浮点数：" + b + " 浮点数：" + c);
        //把浮点数转化为字符串
        String string = Double.toString(b);
        String st = a + "";
        System.out.println("浮点数转化为字符串：" + string + " 整数转化为字符串：" + st);
    }
}